package com.sizu.service.impl;

import com.sizu.entity.CgBrand;
import com.sizu.mapper.CgBrandMapper;
import com.sizu.service.ICgBrandService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 赵玉玺
 * @since 2020-03-24
 */
@Service
public class CgBrandServiceImpl extends ServiceImpl<CgBrandMapper, CgBrand> implements ICgBrandService {

    @Override
    public List<CgBrand> findAll() {
        return this.baseMapper.selectList(null);
    }
}
